package com.atguigu.repservice.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ZhuangLiJiao
 * @since 2021-10-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RepOrder对象", description="")
public class RepOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    //订单所在社区
    private String community;

    @ApiModelProperty(value = "订单id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户手机")
    private String userMobile;

    @ApiModelProperty(value = "商家id")
    private String merchantId;

    @ApiModelProperty(value = "商家店铺名称")
    private String merchantShopName;

    @ApiModelProperty(value = "店铺联系人")
    private String merchantNickname;

    @ApiModelProperty(value = "店铺电话")
    private String merchantMobile;

    @ApiModelProperty(value = "状态 1审核中  2等待商家接单 3商家已接单，服务中 4服务完成，等待用户支付费用  5订单已完成，6审核不通过")
    private String status;

    @ApiModelProperty(value = "问题描述")
    private String description;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "订单金额")
    private String free;

    @ApiModelProperty(value = "图片1")
    private String picture1;

    @ApiModelProperty(value = "图片2")
    private String picture2;

    @ApiModelProperty(value = "图片3")
    private String picture3;

    @ApiModelProperty(value = "二级id")
    private String subjectId;

    @ApiModelProperty(value = "一级id")
    private String subjectParentId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "逻辑删除  0未删除  1已删除")
    @TableLogic
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;


}
